package com.aaa.entity.cart_order.zxh;

import java.io.Serializable;

/**
 * fileName:Product
 * description:
 * author:zxh
 * createTime:2020/1/19 14:06
 * version:1.0.0
 */
public class Product implements Serializable {
    private Long product_id;
    //品牌ID
    private Long brand_id;
    //产品类别ID
    private Long product_category_id;
    //商品名称
    private String name;
    //商品图片地址
    private String pic;
    //产品属性类别ID
    private Long product_attribute_category_id;
    //删除状态：0->未删除；1->已删除
    private int delete_status;
    //上架状态：0->下架；1->上架
    private int publish_status;
    //新品状态:0->不是新品；1->新品
    private int new_status;
    //推荐状态；0->不推荐；1->推荐
    private int recommand_status;
    //销量
    private int sale;
    //价格
    private Double price;
    //促销价格
    private Double promotion_price;
    //赠送的积分
    private int gift_point;
    //市场价
    private Double original_price;
    //库存
    private int stock;
    //库存预警值
    private int low_stock;
    //以逗号分割的产品服务：1->无忧退货；2->快速退款；3->免费包邮
    private String service_ids;
    //活动限购数量
    private int promotion_per_limit;
    //商品分类名称
    private String product_category_name;

    public Long getProduct_id() {
        return product_id;
    }

    public void setProduct_id(Long product_id) {
        this.product_id = product_id;
    }

    public Long getBrand_id() {
        return brand_id;
    }

    public void setBrand_id(Long brand_id) {
        this.brand_id = brand_id;
    }

    public Long getProduct_category_id() {
        return product_category_id;
    }

    public void setProduct_category_id(Long product_category_id) {
        this.product_category_id = product_category_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Long getProduct_attribute_category_id() {
        return product_attribute_category_id;
    }

    public void setProduct_attribute_category_id(Long product_attribute_category_id) {
        this.product_attribute_category_id = product_attribute_category_id;
    }

    public int getDelete_status() {
        return delete_status;
    }

    public void setDelete_status(int delete_status) {
        this.delete_status = delete_status;
    }

    public int getPublish_status() {
        return publish_status;
    }

    public void setPublish_status(int publish_status) {
        this.publish_status = publish_status;
    }

    public int getNew_status() {
        return new_status;
    }

    public void setNew_status(int new_status) {
        this.new_status = new_status;
    }

    public int getRecommand_status() {
        return recommand_status;
    }

    public void setRecommand_status(int recommand_status) {
        this.recommand_status = recommand_status;
    }

    public int getSale() {
        return sale;
    }

    public void setSale(int sale) {
        this.sale = sale;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getPromotion_price() {
        return promotion_price;
    }

    public void setPromotion_price(Double promotion_price) {
        this.promotion_price = promotion_price;
    }

    public int getGift_point() {
        return gift_point;
    }

    public void setGift_point(int gift_point) {
        this.gift_point = gift_point;
    }

    public Double getOriginal_price() {
        return original_price;
    }

    public void setOriginal_price(Double original_price) {
        this.original_price = original_price;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public int getLow_stock() {
        return low_stock;
    }

    public void setLow_stock(int low_stock) {
        this.low_stock = low_stock;
    }

    public String getService_ids() {
        return service_ids;
    }

    public void setService_ids(String service_ids) {
        this.service_ids = service_ids;
    }

    public int getPromotion_per_limit() {
        return promotion_per_limit;
    }

    public void setPromotion_per_limit(int promotion_per_limit) {
        this.promotion_per_limit = promotion_per_limit;
    }

    public String getProduct_category_name() {
        return product_category_name;
    }

    public void setProduct_category_name(String product_category_name) {
        this.product_category_name = product_category_name;
    }

    @Override
    public String toString() {
        return "Product{" +
                "product_id=" + product_id +
                ", brand_id=" + brand_id +
                ", product_category_id=" + product_category_id +
                ", name='" + name + '\'' +
                ", pic='" + pic + '\'' +
                ", product_attribute_category_id=" + product_attribute_category_id +
                ", delete_status=" + delete_status +
                ", publish_status=" + publish_status +
                ", new_status=" + new_status +
                ", recommand_status=" + recommand_status +
                ", sale=" + sale +
                ", price=" + price +
                ", promotion_price=" + promotion_price +
                ", gift_point=" + gift_point +
                ", original_price=" + original_price +
                ", stock=" + stock +
                ", low_stock=" + low_stock +
                ", service_ids='" + service_ids + '\'' +
                ", promotion_per_limit=" + promotion_per_limit +
                ", product_category_name='" + product_category_name + '\'' +
                '}';
    }
}
